package com.heiye.oss.biz.strategy;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author: heiye
 * @date: 2024/11/21 下午1:31
 * @version: v1.0.0
 * @description: 文件策略接口
 */
public interface FileStrategy {
    /**
     * 上传用户头像
     *
     * @param avatar
     * @param bucketName
     * @return
     */
    String uploadAvatar(MultipartFile avatar, String bucketName);
}
